﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Ext.Net;

namespace PhuongDoAn.Admin
{
    public partial class Default : AdminWebBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                btnName.Text = currentUser.FullName;
            }
        }

        public void Login(object sender, DirectEventArgs e)
        {
            Session[ConfigKey.ADMIN_USER] = null;
            Response.Redirect(ConfigKey.LOGIN_URL);
        }

    }
}